package org.freedom.securitytest.controller;

import org.freedom.securitytest.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.LinkedList;

/**
 * @Author:zc
 * @Date: 2021年6月24日
 * @Time:  15:38:38
 * 控制器主要在操作扣分项本身，包含修改添加等。
 */
@RestController
@RequestMapping("/userinfo")
public class UserInfoController {

    @Autowired
    private UserInfoService userInfoService;
    /***
     *  查询菜单项,包含母子菜单
     *  evaluationFilter
     */
    @RequestMapping("/getUserInfoByUsername")
    public String getUserInfoByUsername(@RequestBody Object evaluationFilter) {
       userInfoService.getUserInfoByUsername("");
       return null;
    }
}